package top.lidee.repository.model.twice.vo.applet;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import top.lidee.repository.validator.constraints.Phone;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 商户表
 * <p>
 * Created by FSQ
 * CopyRight https://www.lidee.top
 */
@Getter
@Setter
@ApiModel(value = "成为商户VO", description = "成为商户VO")
public class MtMerchantVo implements Serializable {

    private static final long serialVersionUID = 1L;

//    @ApiModelProperty("商户号")
//    private String no;
//
//    @ApiModelProperty("商户名称")
//    @NotBlank(message = "商户名称不能为空")
//    private String name;
//
//    @ApiModelProperty("商户logo")
//    private String logo;

    @ApiModelProperty("联系人姓名")
    @NotBlank(message = "联系人姓名不能为空")
    private String contact;

    @ApiModelProperty("联系电话")
    @Phone
    private String phone;

//    @ApiModelProperty("联系地址")
//    @NotBlank(message = "联系地址不能为空")
//    private String address;

    @ApiModelProperty("备注信息")
    private String description;

//    @ApiModelProperty("创建时间")
//    @TableField(fill = FieldFill.INSERT)
//    private Date createTime;
//
//    @ApiModelProperty("更新时间")
//    @TableField(fill = FieldFill.INSERT_UPDATE)
//    private Date updateTime;
//
//    @ApiModelProperty("状态，A：有效/启用；D：无效")
//    private String status;
//
//    @ApiModelProperty("最后操作人")
//    private String operator;
//
    @ApiModelProperty("邀请人号码")
    private String inviterNumber;

}
